<?php /* Smarty version 2.6.11, created on 2011-07-01 10:55:39
         compiled from group_edit.php */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<SCRIPT src="style/js/jquery-1.3.2.min.js" type=text/javascript></SCRIPT>
<SCRIPT src="style/js/main.js" type=text/javascript></SCRIPT>
<SCRIPT src="style/js/jquery-ui-1.7.2.custom.min.js" type=text/javascript></SCRIPT>
<LINK href="style/css/jquery-ui-1.7.2.custom.min.css" type=text/css rel=stylesheet>
<link rel="stylesheet" href="style/css/common.css" type="text/css" />
</head>

<body>
<div id="man_zone">
<table  width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
<form  name="form1" method="post" action="">
  <tr>
    <td colspan="2">用户组管理</td>
  </tr>
   <tr>
    <td align="right" style="padding-right:15px;">站点:</td>
    <td>
      <?php echo $this->_tpl_vars['website']['domain']; ?>

    </td>
    </tr>
  <tr>
    <td align="right" style="padding-right:15px;">用户组名称:</td>
    <td>
      <input type="text" name="gname" value="<?php echo $this->_tpl_vars['group']['gname']; ?>
" />
    </td>
  </tr>
  <tr>
    <td align="right" style="padding-right:15px;">&nbsp;</td>
    <td>
      <label>
        <input id="checkAll" name="" type="checkbox" value="" />所有权限</label>
    </td>
  </tr>
  <tr>
    <td align="right" style="padding-right:15px;">栏目:</td>
    <td>
    <label>
      <input name="class[]" type="checkbox" value="a" <?php if ($this->_tpl_vars['group']['class'] && in_array ( 'a' , $this->_tpl_vars['group']['class'] )): ?>checked="checked"<?php endif; ?> />增加栏目</label>
      <label>
        <input type="checkbox" name="class[]" value="e" <?php if ($this->_tpl_vars['group']['class'] && in_array ( 'e' , $this->_tpl_vars['group']['class'] )): ?>checked="checked"<?php endif; ?>  />修改栏目属性</label>
<label>
<input type="checkbox" name="class[]" value="d" <?php if ($this->_tpl_vars['group']['class'] && in_array ( 'd' , $this->_tpl_vars['group']['class'] )): ?>checked="checked"<?php endif; ?>  />删除栏目
      </label></td>
  </tr>
  <tr>
    <td align="right" style="padding-right:15px;">生成:</td>
    <td>
      <label><input type="checkbox" name="data[]" value="i" <?php if ($this->_tpl_vars['group']['class'] && in_array ( 'i' , $this->_tpl_vars['group']['data'] )): ?>checked="checked"<?php endif; ?>  />首页</label>
      <label>
        <input type="checkbox" name="data[]" value="c" <?php if ($this->_tpl_vars['group']['class'] && in_array ( 'c' , $this->_tpl_vars['group']['data'] )): ?>checked="checked"<?php endif; ?>  />栏目</label>
        
  <label><input type="checkbox" name="data[]" value="p" <?php if ($this->_tpl_vars['group']['class'] && in_array ( 'p' , $this->_tpl_vars['group']['data'] )): ?>checked="checked"<?php endif; ?>  />内容页
      </label></td>
  </tr>
  <tr>
    <td align="right" style="padding-right:15px;">文章:</td>
    <td>
     <label> <input type="checkbox" name="article[]" value="a" <?php if ($this->_tpl_vars['group']['class'] && in_array ( 'a' , $this->_tpl_vars['group']['article'] )): ?>checked="checked"<?php endif; ?>  />增加文章</label>
      <label>
        <input type="checkbox" name="article[]" value="e" <?php if ($this->_tpl_vars['group']['class'] && in_array ( 'e' , $this->_tpl_vars['group']['article'] )): ?>checked="checked"<?php endif; ?>  />修改文章</label>
       
 <label> <input type="checkbox" name="article[]" value="d" <?php if ($this->_tpl_vars['group']['class'] && in_array ( 'd' , $this->_tpl_vars['group']['article'] )): ?>checked="checked"<?php endif; ?>  /> 删除文章
      </label></td>
  </tr>
  <tr>
    <td align="right" style="padding-right:15px;" valign="top">可控栏目:</td>
    <td>
        <?php $_from = $this->_tpl_vars['columns']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['val']):
?>
        <?php $this->assign('classid', $this->_tpl_vars['val']['classid']); ?>
        <label>
        <input type="checkbox" value="<?php echo $this->_tpl_vars['val']['classid']; ?>
" name="classid[]" <?php if ($this->_tpl_vars['group']['classid'] && in_array ( ($this->_tpl_vars['classid']) , $this->_tpl_vars['group']['classid'] )): ?>checked="checked"<?php endif; ?>/><?php echo $this->_tpl_vars['val']['classname']; ?>

        </label><br />
        <?php endforeach; endif; unset($_from); ?>
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="hidden" name="wid" value="<?php echo $this->_tpl_vars['group']['wid']; ?>
" /><input type="submit" value="提交" />
    <input type="hidden" name="gid" value="<?php echo $this->_tpl_vars['group']['gid']; ?>
" /></td>
  </tr></form>
</table>

</div>
</body>
</html>